package yf.mall.service.impl;

import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.transaction.annotation.Transactional;
import yf.mall.service.CronService;

public class CronServiceImpl implements CronService {

    //TODO 执行自动确认超过七天没有收货的
    @Scheduled(fixedDelay = 1000*60*60*24)
    @Transactional
    @Override
    public void autoTakeOver() {

    }
}
